<?php

namespace App\Models;

use App\Library\Models\Entity;
use App\Library\Traits\Orm\ProductSpecOrmTrait;

class ProductSpecModel extends Entity
{
    use ProductSpecOrmTrait;

    protected $table = 'shop_product_specs';

    protected $primaryKey = 'ps_id';

    protected $fillable = [
        'ps_id',
        'product_id',
        'rand_product_id',
        'user_id',
        'ps_avatar',
        'ps_avatar_img_id',
        'ps_name',
        'ps_price',
        'ps_price_underlined',
        'ps_total_stock',
        'ps_usable_stock',
        'ps_is_delete',
        'ps_disable_stock',
        'ps_buy_limit',
        'created_at',
        'updated_at'
    ];
}
